import  requests
url ='http://www.baidu.com'

data={
    'data':'data'
}
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36'
}

responese=requests.post(url=url,params=data,headers=headers)

responese.encoding='uft-8'

import  json
print(json.load(responese.content))
